package com.bms.admin.base.role.service;

import java.util.List;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.bms.admin.base.role.entity.Role;
import com.bms.admin.base.role.vo.RoleVo;

/**
 * <p>
 * 角色 服务类
 * </p>
 *
 * @author xj
 * @since 2018-08-09
 */
public interface IRoleService extends IService<Role> {
	
	static final String MENU_ID = "menuId";

	void savePermission(Long roleId,List<Long> menuIds);
	
	Page<RoleVo> selectRoleList(Page<RoleVo> page,Wrapper<RoleVo> ew);
}
